package com.zhou.JavaAndroidFirm.widget;

import com.flyco.tablayout.listener.CustomTabEntity;

/**
 * @author Administrator
 * @date 2018/7/15 0015
 * @des
 */
public class TabEntity implements CustomTabEntity {
    private String mTitle;
    private int selectId;
    private int unSelectId;

    public TabEntity(String title, int mIconSelectId, int mIconUnselectId) {
        this.mTitle = title;
        this.selectId = mIconSelectId;
        this.unSelectId = mIconUnselectId;

    }

    @Override
    public String getTabTitle() {
        return mTitle;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectId;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unSelectId;
    }
}
